package com.hao_family.atcrowdfunding.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hao_family.atcrowdfunding.beans.TRole;
import com.hao_family.atcrowdfunding.mapper.TRoleMapper;
import com.hao_family.atcrowdfunding.service.RoleService;
@Service
public class RoleServiceImpl implements RoleService {
	@Autowired
	TRoleMapper roleMapper;
	@Override
	public List<TRole> getAllRole() {
		// TODO Auto-generated method stub
		List<TRole> list = roleMapper.selectByExample(null);
		return list;
	}

}
